package com.one.common.common;

import com.one.common.common.system.model.response.TrackResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Author: zhulunjun
 * Email: zhulunjun@qq.com
 * CreateDate: 2019/8/1 10:08
 * Description：
 **/
public interface LocationApi {

    /**
     * 获取猎鹰轨迹服务数据
     */
    @FormUrlEncoded
    @POST("ycp/apis/createTerminalAndTrack")
    Observable<TrackResponse> getTrack(@Field("relatedSort") String relatedSort, @Field("relatedId") String relatedId);


}
